package com.cj.ctyl.framework.constant;

/**
 * @Author: Alex
 * @Description: 通用常量
 * @Date: 2021/8/25
 */
public class Constants {

    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "200";

    /**
     * 通用警告表示
     */
    public static final String WARN = "301";

    /**
     * 通用失败标识
     */
    public static final String ERROR = "500";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "page";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "limit";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

}
